#ifndef AD_SERCHGOOD_H
#define AD_SERCHGOOD_H

#include <QDialog>
#include <QStandardItemModel>

namespace Ui {
class ad_serchgood;
}

class ad_serchgood : public QDialog
{
    Q_OBJECT

public:
    explicit ad_serchgood(QWidget *parent = 0);
    ~ad_serchgood();

private slots:
    void on_serchbtn_clicked();

private:
    Ui::ad_serchgood *ui;
private:
    QStandardItemModel *tmodel;
    int js();
    void seach1(char* s_1,int nn);//编号查找
    void seach0(char* s_1,int nn);//品名查找
};

#endif // AD_SERCHGOOD_H
